﻿<%@ Page language="C#" MasterPageFile="~masterurl/custom.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:searchadmin, SearchCenterLiteOnet_Title%>" EncodeMethod='HtmlEncode'/> - <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server"/>

<asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
<style>
TD.ms-titleareaframe, .ms-pagetitleareaframe {
    height: 10px; 
}

Div.ms-titleareaframe {
    height: 100%;
}

.ms-pagetitleareaframe table {
    height: 10px;
}
</style>
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
TD.ms-titleareaframe, Div.ms-titleareaframe, .ms-pagetitleareaframe {
    height: 85px;
    text-align:center; 
}
.ms-pagetitleareaframe table {
    background-position:400px 14px;
    height: 0px;
}
.ms-bodyareaframe {
	PADDING-RIGHT: 0px; PADDING-LEFT: 18px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</style>  
<script language="javascript">
function SetPageTitle()
{
   var Query = "";
   if (window.top.location.search != 0)
   {
      Query = window.top.location.search;
      var keywordQuery = getParameter(Query, 'k');
      if(keywordQuery != null)
      {
         var titlePrefix = '<asp:literal runat="server" Text="<%$Resources:sps, Search_Results_Page_Title1%>" />';
         document.title = titlePrefix + keywordQuery;
      }
   }
}

function getParameter (queryString, parameterName)
{

   var parameterName = parameterName + "=";
   if (queryString.length > 0)
   {

     var begin = queryString.indexOf (parameterName);

     if (begin != -1)
     {

        begin += parameterName.length;

        var end = queryString.indexOf ("&" , begin);
        if (end == -1)
        {
           end = queryString.length;
        }

        return decodeURIComponent(queryString.substring (begin, end));
     }
   }

   return null;

}

if (document.addEventListener)
{
    document.addEventListener("DOMContentLoaded", SetPageTitle, false);
}
else if(document.attachEvent)
{
    document.attachEvent("onreadystatechange", SetPageTitle);
}

</script>  
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderLeftNavBar" runat="server">
<div height=100% class="ms-pagemargin"><IMG SRC="/_layouts/images/blank.gif" width=8 height=1 alt=""></div>
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server">
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderBodyLeftBorder" runat="server">
<div height=100% class="ms-pagemargin"><IMG SRC="/_layouts/images/blank.gif" width=6 height=1 alt=""></div>
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderTitleLeftBorder"  runat="server">
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderSearchArea"  runat="server">
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb"  runat="server">
<A name="mainContent"></A>
<div style="height:100%; width:100%;padding-left: 2px; padding-top: 16px; padding-bottom: 14px;">
<div style="width:390px;">
<WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_TopZone%>" id="TopZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/> 
</div>
</div>
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderTitleAreaSeparator"  runat="server">
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">

<table width="100%">
        <!-- MAINRIGHTBODYAREA_BEG: cell that encompases the main right body area -->  <td valign="top" width="100%">
            <table border="0" cellpadding="0" cellspacing="0" id="ZoneTable" width="100%" class="ms-tztable">
              <tr>
               <td id="MainLeftCell" width="75%" valign="top">
                <table border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed" ID="LeftZoneTable" width="100%" class="ms-tztable">
                <tr width="100%">                      
                    <td width="100%">
                             <table cellpadding="0" cellspacing="0" width="100%">
                               <tr width="100%">
                                 <td id="MidUpperLeftCell" align="left">  
                                   <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_MiddleUpperLeftZone%>" id="MidUpperLeftZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
                                 </td>
                                 <td id="MidUpperRightCell" align="right">
                                   <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_MiddleUpperRightZone%>" id="MidUpperRightZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
                                 </td>
                               </tr>
                             </table>
                    </td>
                </tr> 
                <tr style="background-color:#ececec;" width="100%">
                    <td width="100%">
                             <table width="100%">
                               <tr width="100%">
                                 <td id="MidLowerLeftCell" colspan="1" align="left">
                                   <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_MiddleLowerLeftZone%>" id="MidLowerLeftZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
                                 </td>
                                 <td id="MidLowerRightCell" colspan="1" align="right">
                                   <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_MiddleLowerRightZone%>" id="MidLowerRightZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
                                 </td>
                               </tr>
                             </table>
                    </td>
                </tr>
                <tr>
                 <td valign="top" ID="BottomCell" width="100%" style="padding-top: 10px"> 
                  <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_BottomZone%>" id="BottomZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
                 </td> 
                </tr>
                </table> 
               </td>
               <td><IMG SRC="/_layouts/images/blank.gif" width="10" height="1" alt=""></td>                
               <td id="RightCell" width="25%" valign="top">
                 <WebPartPages:WebPartZone runat="server" AllowPersonalization="false" title="<%$Resources:sps,LayoutPageZone_RightZone%>" id="RightZone" orientation="Vertical" QuickAdd-GroupNames="Search" QuickAdd-ShowListsAndLibraries="false"/>
               </td>
              </tr>
            </table>
        </td> <!-- MAINRIGHTBODYAREA_END: cell that encompases the main right body area -->
</table>

</asp:Content>
